<?php
	
	include_once 'conecta.php';
		$sql = new Persistencia();
		
		$produto = 1;
	

?>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />

  <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame 
       Remove this if you use the .htaccess -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

  <title>index</title>
  <meta name="description" content="" />
  <meta name="author" content="lfribeiro" />

  

  <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
  <link rel="shortcut icon" href="/favicon.ico" />
  <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
  <link rel="stylesheet" href="style.css" type="text/css" />
  <link rel="stylesheet" href="css/relogio.css" type="text/css"/>
  <link rel="stylesheet" href="css/bootstrap.css" type="text/css"/>
  
    
  <script src="js/jquery1.10.2.js" type="text/javascript"> </script>
  
  
 
<!-- ------------------------------ Script Relógio -----------------------------------   -->
  
<script type="text/javascript">
			
		$(document).ready(function() {
						// Create two variable with the names of the months and days in an array
						var monthNames = [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ]; 
						var dayNames= ["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]
						
						// Create a newDate() object
						var newDate = new Date();
						
						// Extract the current date from Date object
						newDate.setDate(newDate.getDate());
						
						// Output the day, date, month and year   
						$('#Date').html(dayNames[newDate.getDay()] + " " + newDate.getDate() + ' ' + monthNames[newDate.getMonth()] + ' ' + newDate.getFullYear());
						setInterval( function() {
							
							// Create a newDate() object and extract the seconds of the current time on the visitor's
							var seconds = new Date().getSeconds();
							
							// Add a leading zero to seconds value
							$("#sec").html(( seconds < 10 ? "0" : "" ) + seconds);
							},1000);
						setInterval( function() {
							
							// Create a newDate() object and extract the minutes of the current time on the visitor's
							var minutes = new Date().getMinutes();
							
							// Add a leading zero to the minutes value
							$("#min").html(( minutes < 10 ? "0" : "" ) + minutes);
						    },1000);
						setInterval( function() {
							
							// Create a newDate() object and extract the hours of the current time on the visitor's
							var hours = new Date().getHours();
							
							// Add a leading zero to the hours value
							$("#hours").html(( hours < 10 ? "0" : "" ) + hours);
						    }, 1000);	
		});
			console.log($('#produto').val());
			
</script>
		
<!-- ------------------------------ Fim script -----------------------------------   --> 
 
<!-- ------------------------------ Script Gráfico -----------------------------------   --> 
 
 <!--   <script type="text/javascript">
  window.onload = function () {
    var chart = new CanvasJS.Chart("chartContainer",
    {

      title:{
      text: "",
      },
       axisY:{    
        valueFormatString:  "#.###"
       },
      axisX:{    
        valueFormatString:  "#.###"
       },
      
       data: [
      {
      	markerType: "triangle",  //"circle", "square", "cross", "none"
      	markerColor: "red",//cor do ponto de marcação
        markerBorderColor: "blue", //mudar cor da borda do marcador
        markerSize: 10, //tamanho do marcador
         markerBorderThickness: 1, //espessura da borda do marcador
        
        type: "line",

        dataPoints: [
        
        
       
        { y:  parseInt(document.getElementById('h7').firstChild.nodeValue), label: "07:00" },
        { y:  parseInt(document.getElementById('h8').firstChild.nodeValue), label: "08:00" },
        { y:  parseInt(document.getElementById('h9').firstChild.nodeValue), label: "09:00" },
        { y:  parseInt(document.getElementById('h10').firstChild.nodeValue), label: "10:00" },
        { y:  parseInt(document.getElementById('h11').firstChild.nodeValue), label: "11:00" },
        { y:  parseInt(document.getElementById('h12').firstChild.nodeValue), label: "12:00" },
        { y:  parseInt(document.getElementById('h13').firstChild.nodeValue), label: "13:00" },
        { y:  parseInt(document.getElementById('h14').firstChild.nodeValue), label: "14:00" },
        

        ]
      },


      ]
    });

    chart.render();
    
    
    
    
  }
  
   
    
  
  </script> -->
  
<!-- ------------------------------ Fim script -----------------------------------   -->   
  
 
  <script src="js/funcionalidades.js" type="text/javascript"> </script>
  
  
</head>

<body>
	
	
<!-- ##################################### Inicio Menu #################################################################  -->	
 <div id="apoioMenu">
 	
 		
 	<div id="apoio" style="display: none">
 		
 		<button class="botaoInt">
 			
 		</button>
 	
 		
 		<h1>VERSÕES SAPÓLIO CREMOSO</h1>
	 		
	 		<ul id="menu">
	 			
	 			<a href="index.php">
	 				
	 				<li>
	 				<div class="liCentral" id="sap1"> CREMOSO ORIGINAL 24/300 ML</div>
	 				</li>
	 			
	 			</a>
	 			
		 			<a href="limao24.php">
		 				
			 			<li>
			 				<div class="liCentral">RADIUM CREMOSO LIMAO 24/300 ML </div>
			 			</li>
			 			
			 		</a>
		 		
				 		<a href="#">
			 			
				 			<li>
				 				<div class="liCentral">RADIUM CREMOSO PINHO 24/300 ML </div>
				 			</li>
			 			
			 			</a>
	 			
				 			<a href="#">
				 				
					 			<li>
					 				<div class="liCentral">RADIUM CREMOSO LAVANDA 24/300 ML </div>
					 			</li>
					 		
					 		</a>
	 			
					 			<a href="#">
					 			
						 			<li>
						 				<div class="liCentral">RADIUM CREMOSO BOUQUET 24/300 ML </div> 
						 			</li>
					 			
					 			</a>
	 			
						 			<a href="#">
							 			<li>
							 				<div class="liCentral">CREMOSO ORIGINAL 12/300 ML </div>
							 			</li>
							 		
							 		</a>
	 			
							 			<a href="#">
							 				
								 			<li>
								 				<div class="liCentral">RADIUM CREMOSO LIMAO 12/300 ML </div> 
								 			</li>
							 			
							 			</a>
	 			
								 			<a href="#">
								 				
									 			<li>
									 				<div class="liCentral">RADIUM CREMOSO PINHO 12/300 ML</div>
									 			</li>
								 			
								 			</a>
	 			
									 			<a href="#">
									 			
										 			<li>
										 				<div class="liCentral">RADIUM LIMPA INOX 12/300 ML</div>
										 			</li>
									 			
									 			</a>
									 			
										 			<a href="#">
										 				
											 			<li>
											 				<div class="liCentral">RADIUM CREMOSO CLORO 12/300 ML </div>
											 			</li>
										 			
										 			</a>
	 			
											 			<a href="#">
											 			
												 			<li>
												 				<div class="liCentral">RADIUM CREMOSO BOUQUET 12/300 ML </div>
												 			</li>
											 			
											 			</a>
											 			
												 			<a href="#">
												 				
													 			<li>
													 				<div class="liCentral">RADIUM CREMOSO LAVANDA 12/300 ML </div> 
													 			</li>
													 			
												 			</a>
	 			
													 			<a href="#">
													 				
														 			<li>
														 				<div class="liCentral">RADIUM CREMOSO LARANJA 12/300 ML </div> 
														 			</li>
													 			
													 			</a>
	 			
	 		</ul>
 		
 		
 		
 		
 	</div>
 	
	 	<div id="menuEstreito">
	 		
	 		<button class="botao">
	 			
	 		</button>
	 	
	 		
	 	</div>
 	
 	
 </div>
 
	<!-- ****** script menu ******  -->
 	
 		<script>
 
 	
 			$(".botao").click(function(){
 		
 			$("#apoio").show("slow");
 			
 			$("#botao").hide(1000);
 			$("#menuEstreito").hide(1000);
 			
 			}
 							);
 							
 			$(".botaoInt").click(function(){
 			
 			$("#apoio").hide(1000);
 			$("#botao").show("slow");
 			$("#menuEstreito").show("slow");
 			
 			});
 	
 		</script>
 		
<!-- ##################################### Fim Menu #################################################################  -->
 
   <header>
   	
<!-- ##################################### INICIO BLOCO RALIZADO DIA ANTERIOR #################################################################  -->  
 	
   	<!--<div class="coluna1">
   		
   		
   		
   		<h1>
   			REALIZADO DIA ANTERIOR <br/>
   			<?php echo date('d/m/y', strtotime('-1 day'));
			
						?>
   			
   		</h1>
   		
   		   		
   		<ul>
   			<li>
   				<h1>1º Turno</h1>
   				<p><?php echo $sql->buscaTotalDAnt(1,1);   ?>(cxs)</p>
   				
   			</li>
   			<li>
   				<h1>2º Turno</h1>
   				<p><?php echo $sql->buscaTotalDAnt(2,1);   ?>(cxs)</p>
   			</li>
   			<li>
   				<h1>3º Turno</h1>
   				<p><?php echo $sql->buscaTotalDAnt(3,1);  ?>(cxs)</p>
   			</li>
   			
   			
   			
   		</ul>
   		
   		
   		<h1>Total: <?php echo $sql->buscaTotalDAnt(3,1)+$sql->buscaTotalDAnt(2,1)+$sql->buscaTotalDAnt(1,1)  ?> (CXS)</h1>
   	</div>-->
   	
<!-- ##################################### FIM BLOCO REALIZADO DIA ANTERIOR #################################################################  --> 


<!-- ##################################### INICIO BLOCO ACOMPANHAMENTO DO DIA #################################################################  -->  
   	
   	<div class="coluna2">
   		<div class="sup">
   		<h2 id="titulo">ACOMPANHAMENTO DO DIA -> CREMOSO ORIGINAL 24/300 ML</h2>
   		
  			 	<div class="clock">
  					<div id="Date">
  				
  					</div>
  					
					  <ul>
					  	
					    <li id="hours">
					    	
					    </li>
					    <li id="point">
					    	:
					    </li>
					    <li id="min">
					    	
					    </li>
					    <li id="point">
					    	:
					   	</li>
					    <li id="sec">
					    	
					    </li>
					    
					  </ul>
				</div>
  			 	
  			 </div>
         <div class="col1">
   			
   			
   			<h1>HORA</h1>
   			<ul>
   				<?php
   				
   				//compara as horas para lançamento de turno
   				if(strtotime("now") >= strtotime("07:00:00") && strtotime("now") < strtotime("14:00:00") ){
   					
   				echo "<li> <p>07:00</p></li>
   				<li><p>08:00</p></li>
   				<li><p>09:00</p></li>
   				<li><p>10:00</p></li>
   				<li><p>11:00</p></li>
   				<li><p>12:00</p></li>
   				<li><p>13:00</p></li>
   				<li><p>14:00</p></li>";
				
				}
				
				if(strtotime("now") >= strtotime("14:00:00") && strtotime("now") < strtotime("22:00:00") ){
   					
   				echo "
   				<li><p>15:00</p></li>
   				<li><p>16:00</p></li>
   				<li><p>17:00</p></li>
   				<li><p>18:00</p></li>
   				<li><p>19:00</p></li>
   				<li><p>20:00</p></li>
   				<li><p>21:00</p></li>
   				<li><p>22:00</p></li>";
				
				}
				if(strtotime("now") >= strtotime("22:00:00") or strtotime("now") < strtotime("06:00:00") ){
   					
   				echo "
   				<li><p>23:00</p></li>
   				<li><p>00:00</p></li>
   				<li><p>01:00</p></li>
   				<li><p>02:00</p></li>
   				<li><p>03:00</p></li>
   				<li><p>04:00</p></li>
   				<li><p>05:00</p></li>
   				<li><p>06:00</p></li>";
				
				}
				
				
				
   				 ?> 				
   			</ul>
   			
   			
   			
   		</div> 
   		<div class="col2">
   			<h1>PLANEJADO</h1>
   			<ul>
   				
   				<?php 
   				
   				if(strtotime("now") >= strtotime("07:00:00") && strtotime("now") <= strtotime("14:00:00") ){
   							
   						$busca = "select * from previsto where data_previsto = curdate() and hora_previsto >= '07:00' and hora_previsto <= '14:00' and idproduto =$produto ";
   						$sql->consulta($busca);
		   				$const = 1;
						$somaTP = 0;
		   				
		   				while ($dados = $sql->resultado()) {
		    	
		   					
							echo "<li id='prev".$const."'><p>".$dados['total_previsto']."</p></li>" ;
							$const++;
							$somaTP = $somaTP + $dados['total_previsto'] ;
		   				};
   						
   				}	
				if(strtotime("now") > strtotime("14:00:00") && strtotime("now") <= strtotime("22:00:00") ){
							
						$busca = "select * from previsto where data_previsto = curdate() and hora_previsto > '14:00' and hora_previsto <= '22:00' and idproduto = $produto ";
						$sql->consulta($busca);
		   				$const = 1;
						$somaTP = 0;
		   				
		   				while ($dados = $sql->resultado()) {
		    	
		   					
							echo "<li id='prev".$const."'><p>".$dados['total_previsto']."</p></li>" ;
							$const++;
							$somaTP = $somaTP + $dados['total_previsto'] ;
		   				};
								
   				}
   				if(strtotime("now") > strtotime("22:00:00") ){
   					
						$busca = "select * from previsto where data_previsto = curdate() and hora_previsto > '22:00' and hora_previsto <= '23:59' and idproduto = $produto ";
						$busca2 = "select * from previsto where data_previsto = curdate() and hora_previsto >= '00:00' and hora_previsto <= '06:00' and idproduto = $produto ";
						
						$sql->consulta($busca);
		   				$const = 1;
						$somaTP = 0;
		   				
		   				while ($dados = $sql->resultado()) {
		    	
		   					
							echo "<li id='prev".$const."'><p>".$dados['total_previsto']."</p></li>" ;
							$const++;
							$somaTP = $somaTP + $dados['total_previsto'] ;
		   				};
						$sql->consulta($busca2);
		   						   				
		   				while ($dados = $sql->resultado()) {
		    	
		   					
							echo "<li id='prev".$const."'><p>".$dados['total_previsto']."</p></li>" ;
							$const++;
							$somaTP = $somaTP + $dados['total_previsto'] ;
		   				};
   					
				}if(strtotime("now") <= strtotime("06:00:00") ){
   					
						$busca = "select * from previsto where data_previsto = curdate()-1 and hora_previsto > '22:00' and hora_previsto <= '23:59' and idproduto = $produto ";
						$busca2 = "select * from previsto where data_previsto = curdate()-1 and hora_previsto >= '00:00' and hora_previsto <= '06:00' and idproduto = $produto ";
						
						$sql->consulta($busca);
		   				$const = 1;
						$somaTP = 0;
		   				
		   				while ($dados = $sql->resultado()) {
		    	
		   					
							echo "<li id='prev".$const."'><p>".$dados['total_previsto']."</p></li>" ;
							$const++;
							$somaTP = $somaTP + $dados['total_previsto'] ;
		   				};
						$sql->consulta($busca2);
		   						   				
		   				while ($dados = $sql->resultado()) {
		    	
		   					
							echo "<li id='prev".$const."'><p>".$dados['total_previsto']."</p></li>" ;
							$const++;
							$somaTP = $somaTP + $dados['total_previsto'] ;
		   				};
   					
				}
   				
				
   				
   				
   				?>
   				
   				
   				
   				
   				  				
   			</ul>
   			
   		</div>
   		<div class="col3">
   			
   			
   			
   			<h1>REAL</h1>
   			<ul>
   				<?php
   				if(strtotime("now") >= strtotime("07:00:00") && strtotime("now") < strtotime("14:00:00") ){
   					echo'
   				<li><p id="h7"> </p></li>
   				<li><p id="h8"></p></li>
   				<li><p id="h9"></p></li>
   				<li><p id="h10"></p></li>
   				<li><p id="h11"></p></li>
   				<li><p id="h12"></p></li>
   				<li><p id="h13"></p></li>
   				<li><p id="h14"></p></li>
   				
   				';
				}
				if(strtotime("now") >= strtotime("14:00:00") && strtotime("now") < strtotime("22:00:00") ){
							
				echo'
   				<li><p id="h15"> </p></li>
   				<li><p id="h16"></p></li>
   				<li><p id="h17"></p></li>
   				<li><p id="h18"></p></li>
   				<li><p id="h19"></p></li>
   				<li><p id="h20"></p></li>
   				<li><p id="h21"></p></li>
   				<li><p id="h22"></p></li>
   				
   				';
				}
				if(strtotime("now") >= strtotime("22:00:00") or strtotime("now") < strtotime("06:00:00") ){
					
					echo'
   				<li><p id="h23"> </p></li>
   				<li><p id="h0"></p></li>
   				<li><p id="h1"></p></li>
   				<li><p id="h2"></p></li>
   				<li><p id="h3"></p></li>
   				<li><p id="h4"></p></li>
   				<li><p id="h5"></p></li>
   				<li><p id="h6"></p></li>
   				
   				';
					
					
					
				}					
					
   				
   				?>
   				  				
   			</ul>
   			
   		</div>
   		
   		
   		<div class="col4">
        <h1> FAROL</h1>
        <ul>
        		<?php
   				if(strtotime("now") >= strtotime("07:00:00") && strtotime("now") < strtotime("14:00:00") ){
   					echo'
   				<li><p id="f7"></p> </li>
   				<li><p id="f8"></p> </li>
   				<li><p id="f9"></p> </li>
   				<li><p id="f10"></p> </li>
   				<li><p id="f11"></p> </li>
   				<li><p id="f12"></p> </li>
   				<li><p id="f13"></p> </li>
   				<li><p id="f14"></p> </li>
   				
   				';
				}
				if(strtotime("now") >= strtotime("14:00:00") && strtotime("now") < strtotime("22:00:00") ){
							
				echo'
				<li><p id="f15"></p> </li>
   				<li><p id="f16"></p> </li>
   				<li><p id="f17"></p> </li>
   				<li><p id="f18"></p> </li>
   				<li><p id="f19"></p> </li>
   				<li><p id="f20"></p> </li>
   				<li><p id="f21"></p> </li>
   				<li><p id="f22"></p> </li>
   				
   			
   				';
				}
				if(strtotime("now") >= strtotime("22:00:00") or strtotime("now") < strtotime("06:00:00") ){
					
					echo'
				<li><p id="f23"></p> </li>
   				<li><p id="f0"></p> </li>
   				<li><p id="f1"></p> </li>
   				<li><p id="f2"></p> </li>
   				<li><p id="f3"></p> </li>
   				<li><p id="f4"></p> </li>
   				<li><p id="f5"></p> </li>
   				<li><p id="f6"></p> </li>
					
				   				   				
   				';
					
					
					
				}					
					
   				
   				?>
        
        </ul>
        
        
        </div>
        <div class="col5">
        <h1> PLAN. ACUM.</h1>
        <ul>
        <?php 
   				
   				if(strtotime("now") >= strtotime("07:00:00") && strtotime("now") <= strtotime("14:00:00") ){
   							
   						 						 
   						
						for ($i=1; $i <=8; $i++) {
							
							echo "<li id='proA".$i."'><p>".$sql->acumulado($i,'06:59:59', '14:00:00', $produto, 1)."</p></li>" ;
							
						}	
   						
   				}	
				if(strtotime("now") > strtotime("14:00:00") && strtotime("now") <= strtotime("22:00:00") ){
							
						for ($i=1; $i <=8; $i++) {
							
							
							
							echo "<li id='proA".$i."'><p>".$sql->acumulado($i,'14:59:59', '22:00:00', $produto, 1)."</p></li>" ;
							
							
						}	
								
   				}
   				if(strtotime("now") > strtotime("22:00:00") ){
   					
					
					
						for ($i=1; $i <=1; $i++) {
							
							
							
							echo "<li id='proA".$i."'><p>".$sql->acumulado($i,'22:00:00', '23:59:59', $produto, 1)."</p></li>" ;
							
							
						}	
						for ($i=1; $i <=7; $i++) {
							
							
							
							echo "<li id='proA".$i."'><p>".$sql->acumulado($i,'00:00:00', '06:00:00', $produto, 3)."</p></li>" ;
							
							
						}			
					
					
   					
					
				}if(strtotime("now") <= strtotime("06:00:00") ){
									
								
						for ($i=1; $i <=1; $i++) {
							
							
							
							echo "<li id='proA".$i."'><p>".$sql->acumulado($i,'22:59:59', '23:59:59', $produto, 2)."</p></li>" ;
							
							
						}	
						for ($i=1; $i <=7; $i++) {
							
							
							
							echo "<li id='proA".$i."'><p>".$sql->acumulado($i,'00:00:00', '06:00:00', $produto, 4)."</p></li>" ;
							
							
						}			
								
								
							
							
							
							
   					
						
				}
   				
				
   				
   				
   				?>
        </ul>
        </div>
        <div class="col6">
        <h1> REAL ACUM.</h1>
        <ul>
        <?php
   				if(strtotime("now") >= strtotime("07:00:00") && strtotime("now") < strtotime("14:00:00") ){
   					echo'
   				<li><p id="ra7"> </p></li>
   				<li><p id="ra8"></p></li>
   				<li><p id="ra9"></p></li>
   				<li><p id="ra10"></p></li>
   				<li><p id="ra11"></p></li>
   				<li><p id="ra12"></p></li>
   				<li><p id="ra13"></p></li>
   				<li><p id="ra14"></p></li>
   				
   				';
				}
				if(strtotime("now") >= strtotime("14:00:00") && strtotime("now") < strtotime("22:00:00") ){
							
				echo'
   				<li><p id="ra15"> </p></li>
   				<li><p id="ra16"></p></li>
   				<li><p id="ra17"></p></li>
   				<li><p id="ra18"></p></li>
   				<li><p id="ra19"></p></li>
   				<li><p id="ra20"></p></li>
   				<li><p id="ra21"></p></li>
   				<li><p id="ra22"></p></li>
   				
   				';
				}
				if(strtotime("now") >= strtotime("22:00:00") or strtotime("now") < strtotime("06:00:00") ){
					
					echo'
   				<li><p id="ra23"> </p></li>
   				<li><p id="ra0"></p></li>
   				<li><p id="ra1"></p></li>
   				<li><p id="ra2"></p></li>
   				<li><p id="ra3"></p></li>
   				<li><p id="ra4"></p></li>
   				<li><p id="ra5"></p></li>
   				<li><p id="ra6"></p></li>
   				
   				';
					
					
					
				}					
					
   				
   				?>
   				  				
   			</ul>
        
        
        </div>
   		<div class="col7">
        	<h1> FAROL</h1>
				<ul>
        		<?php
   				if(strtotime("now") >= strtotime("07:00:00") && strtotime("now") < strtotime("14:00:00") ){
   					echo'
   				<li><p id="fa7"></p>  </li>
   				<li><p id="fa8"></p> </li>
   				<li><p id="fa9"></p> </li>
   				<li><p id="fa10"></p> </li>
   				<li><p id="fa11"></p> </li>
   				<li><p id="fa12"></p> </li>
   				<li><p id="fa13"></p> </li>
   				<li><p id="fa14"></p> </li>
   				
   				';
				}
				if(strtotime("now") >= strtotime("14:00:00") && strtotime("now") < strtotime("22:00:00") ){
							
				echo'
				<li><p id="fa15"></p> </li>
   				<li><p id="fa16"></p> </li>
   				<li><p id="fa17"></p> </li>
   				<li><p id="fa18"></p> </li>
   				<li><p id="fa19"></p> </li>
   				<li><p id="fa20"></p> </li>
   				<li><p id="fa21"></p> </li>
   				<li><p id="fa22"></p> </li>
   				
   			
   				';
				}
				if(strtotime("now") >= strtotime("22:00:00") or strtotime("now") < strtotime("06:00:00") ){
					
					echo'
				<li><p id="fa23"></p> </li>
   				<li><p id="fa0"></p> </li>
   				<li><p id="fa1"></p> </li>
   				<li><p id="fa2"></p> </li>
   				<li><p id="fa3"></p> </li>
   				<li><p id="fa4"></p> </li>
   				<li><p id="fa5"></p> </li>
   				<li><p id="fa6"></p> </li>
					
				   				   				
   				';
					
					
					
				}					
					
   				
   				?>
        </ul>
                
        
        
        
        
        </div>
        
        <input type="hidden" name="produto" id="produto" value="1" />
   		
   		<!-- <div class="col8">
   			
   			<!-- <div id="chartContainer" style="height: 300px; width: 100%; position: absolute; top:210px;">
  			
  			</div>
  			 
  			 
  			 
  			 
  			 <div class="inf">
                 
<!--    ---------- Formulário de lançamento ------------            
						
							

                <form class="form-inline" method="post" name="f" id="f">
                    <fieldset>
                        
                       
                        
                        <legend>Tipo de Lançamento</legend>
                            
                        <label class="radio">
                               <input type="radio" name="selecaoTipo" id="codigoBarras" value="cb" onclick="tipoCBarras()" checked="checked"/>
                                    Código de Barras            
                        </label>
                        
                        
                        <label class="radio">
                               <input type="radio" name="selecaoTipo" id="Manual" value="m"  onclick="tipoManual()" />
                                    Manual            
                        </label>
                        
                        <input type="hidden" name="produto" id="produto" value="1" />
                        
                    </fieldset>
                    
                    
                    
				
                 <br />
                 
                
                    
                    <fieldset>
                    	<div id="cbarras">
                            <legend>Código de Barras</legend>
                                <input type="number" placeholder="digite o código de barras" id="textoCBarras" name="textoCBarras" />
                                    <button type="button"" class="btn" id="enviar"> Enviar</button>
                        </div>
                                        
                        
                        <div id="manual">
                        
                            <legend>Manual</legend>
                                <input type="number" placeholder="digite a quantidade " id="textoManual" name="textoManual" />
                                    <button type="button" class="btn" id="enviar2" > Enviar</button>
                    
                    	</div>
                    	</br>
                    	
                    	<div class="alert alert-success" id="sucesso">
                        	Valor inserido com sucesso!!!

						</div>
                    </fieldset>
                </form>
                
 <!--    ---------- Fim Formulário de lançamento ------------            
 
            </div>
  			 
  			 
  			 
  			 
   		</div> -->
   		
   			
   		
   	</div>
   	
 <!-- ##################################### FIM BLOCO ACOMPANHAMENTO DO DIA #################################################################  -->    	
   </header>
   
   
   
   
</body>
</html>
